package com.six.biz.impl.settings;

import java.util.List;

import com.six.biz.IUserGroupBiz;
import com.six.dao.IGroupDao;
import com.six.dao.IUserDao;
import com.six.dao.IUserGroupDao;
import com.six.dao.impl.settings.IUserDaoImpl;
import com.six.dao.impl.settings.IUserGroupDaoImpl;
import com.six.vo.UserGroup;

public class IUserGroupManagementBizImpl implements IUserGroupBiz {
	private IUserGroupDao userGroupDao = new IUserGroupDaoImpl();
	@Override
	public void saveUserGroup(UserGroup ug) {
		// TODO Auto-generated method stub
		userGroupDao.saveUserGroup(ug);
	}

	@Override
	public void updateUserGroup(UserGroup ug) {
		// TODO Auto-generated method stub
		userGroupDao.updateUserGroup(ug);
	}

	@Override
	public void deleteUserGroup(String ugid) {
		// TODO Auto-generated method stub
		userGroupDao.deleteUserGroup(ugid);
	}

	@Override
	public UserGroup findUserGroupById(String ugid) {
		// TODO Auto-generated method stub
		return userGroupDao.findUserGroupById(ugid);
	}

	@Override
	public List<UserGroup> findUGList(String ugID) {
		// TODO Auto-generated method stub
		return userGroupDao.findUGList(ugID);
	}

}
